<?php

Route::rule('category/:dirs', 'index/Category/index', 'GET');   //栏目
Route::rule('detail/:dirs/:id', 'index/Detail/index', 'GET');   //文章
Route::rule('search', 'index/Search/index', 'GET');             //搜索

Route::alias('reg','index/Reg');                                //注册
Route::alias('login','index/Login');                            //登陆
Route::alias('member','index/Member');                          //会员中心